package com.taiyi.renaissancemall.ui.main.goodsdetail;

import com.taiyi.renaissancemall.bean.GoodDetailShareBean;
import com.taiyi.renaissancemall.bean.GoodsDetailBean;
import com.taiyi.renaissancemall.bean.ProductSpecPriceBean;

public interface GoodsDetailView {
    String getCommodityId();//商品ID

    void getGoodsDetailSuccess(GoodsDetailBean goodsDetailBean);

    void getGoodsDetailFailure(String msg);

    String getSpecIds();//商品规格拼接id

    String getCommoditySpecId();//根据规格组合返回的id

    void getSpecIdSuccess(ProductSpecPriceBean productSpecPriceBean);

    String getProductNum();

    void addShopCarSuccess();

    void addShopCarFailure(String msg);


    void cancelCollectionSuccess();
    void cancelCollectionFailure(String msg);

    void collectionSuccess();
    void collectionFailure(String msg);

    void getShareInfoSuccess(GoodDetailShareBean shareInfoBean);
    void getShareInfoFailure(String msg);

    void shareGetScoreSuccess();
    void shareGetScoreFailure(String msg);


}
